//=============================================================================

#ifndef APROFILE_H
  #define APROFILE_H

//=============================================================================

#include "../inc/aString.h"

//=============================================================================

enum keyActions
{
  KA_NONE = -128, // no actions
  KA_CANCEL,
  KA_STRAFERIGHT,
  KA_STRAFELEFT,
  KA_MOVEFORWARD,
  KA_MOVEBACKWARD,
  KA_CROUCH,
  KA_JUMP,
  KA_PUSH,
};

//=============================================================================

class aKeys
{
  public:
    aKeys()
    {
      act = KA_NONE;
      key = -1;
    }

  public:
    keyActions act;
    WPARAM key;
};

//=============================================================================

class aProfile
{
  private:
    static const unsigned int keysCount = 8;

  public:
    aProfile();
      keyActions apGetAction(WPARAM key)const;
    ~aProfile();

  private:
    aString caption;
    aKeys keys[keysCount];
};

//=============================================================================

#endif

//=============================================================================
